<template>

  <el-row style="margin: 10px 0;">
		<el-col :span="12">
			<div><b>查看邮件</b></div>
		</el-col>
	</el-row>
	
	<el-table :data="email_mes" stripe style="width: 100%" size="large">
			<el-table-column prop="title" label="邮件标题" />
			<el-table-column prop="sender" label="发件人" />
			<el-table-column prop="text" label="邮件正文" />
			<el-table-column label="操作">
			</el-table-column>
	</el-table>		
			

</template>

<script>
  export default {
    name: "CheckMail",
    data(){
    	return{
    			email_mes:[]
    		}
    },
    created(){
    	let that=this
			this.$axios.get("http://localhost:8080/email_box/listed_check").then(function(res)
			{
				that.email_mes=res.data
				console.log(that.email_mes)
			})
    }
  }
</script>

<style scoped>
	.el-descriptions-item{
		height: 300;
	}
</style>